AIOSEO\Plugin\Common\Utils\Helpers D

Total Complexity 396
Dependencies 10
Dependents 1
Total lines 2,287
Lines of code 1,254
Logical lines of code 580
Comment lines 786
Methods 91
Properties 1

Methods 91

Method Rating Maintainability Complexity Lines of code
getVueData()
D
13
63 265
getAcfContent()
A
43 15 44
getPublicPostTypes()
A
43 14 45
getPost()
A
49 14 29
getPublicTaxonomies()
A
44 13 42
canonicalUrl()
A
48 13 31
isWooCommercePage()
A
51 10 30
attachmentUrlToPostId()
A
47 9 34
getCustomFieldsContent()
A
52 9 24
isValidPost()
A
57 8 17
getContent()
S
52 7 22
sanitizeOption()
S
54 7 21
getScriptUrl()
S
55 7 17
arraysDifferent()
S
58 6 17
internationalize()
S
58 6 16
maybeRemoveTrailingSlash()
S
59 6 13
getNoindexedObjects()
S
61 6 12
getJedLocaleData()
S
57 5 16
getSiteUsers()
S
51 4 27
maybeUnserialize()
S
60 5 12
isSpecialPage()
S
63 5 11
utmUrl()
S
57 4 18
truncate()
S
59 4 14
isNginx()
S
60 4 13
extractSitemapUrlsFromRobotsTxt()
S
59 4 13
isBuddyPressPage()
S
62 4 12
makeUrlAbsolute()
S
62 4 11
getAnalysisContent()
S
61 4 11
sendRequest()
S
55 3 21
getPluginData()
S
56 3 17
getCustomRoles()
S
58 3 15
getScoreClass()
S
64 4 10
isStaticHomePage()
S
65 4 8
supportsMeta()
S
77 4 3
shouldEnqueue()
S
63 4 10
getTimeZoneOffset()
S
59 3 14
getQueriedObject()
S
64 3 11
getPageNumber()
S
64 3 11
localizedUrl()
S
62 3 11
sanitizeDomain()
S
62 3 11
getSiteLogoUrl()
S
63 3 11
isRestApiRequest()
S
63 3 9
validateIp()
S
66 3 9
isScreenPostType()
S
68 3 7
isScreenBase()
S
68 3 7
getCurrentScreen()
S
70 3 6
isAjaxCronRest()
S
79 3 3
enqueueStyle()
S
64 3 10
isStaticPage()
S
79 3 3
isBuddyPressUser()
S
78 3 3
normalizePostTypeTaxonomyNames()
S
67 3 8
getBlogPageId()
S
71 3 5
getHomePageId()
S
71 3 5
getUrl()
S
66 3 8
convertFileSize()
S
58 2 14
enqueueScript()
S
64 2 11
encodeExceptions()
S
68 2 7
jsonTagsToCommaSeparatedList()
S
66 2 8
isDev()
S
78 2 3
unsetValue()
S
70 2 6
getBlogPage()
S
75 2 4
isStaticPostsPage()
S
78 2 3
getWpContentUrl()
S
74 2 4
wpfs()
S
66 2 9
getHomePage()
S
75 2 4
getSiteLogoId()
S
71 2 6
getUserRoles()
S
66 2 9
removeImageDimensions()
S
78 2 3
getNoindexedWooCommercePages()
S
65 2 10
isApache()
S
69 2 6
getNetworkId()
S
72 2 6
isTaxonomyNoindexed()
S
75 1 4
getSiteUrl()
S
78 1 3
isUrl()
S
80 1 3
getSiteDomain()
S
79 1 3
logo()
S
78 1 3
isTaxTerm()
S
75 1 4
stripPunctuation()
S
74 1 4
encodeOutputHtml()
S
77 1 3
decodeHtmlEntities()
S
79 1 3
escapeRegexReplacement()
S
79 1 3
escapeRegex()
S
79 1 3
isValidAttachment()
S
74 1 4
getNoindexedTaxonomies()
S
80 1 3
isBuddyPressActive()
S
80 1 3
isWpmlActive()
S
80 1 3
isPostTypeNoindexed()
S
75 1 4
getReadingTime()
S
72 1 5
getNoindexedPostTypes()
S
80 1 3
formatDateTime()
S
78 1 3
pregReplace()
S
75 1 4